package com.ruoyi.applyrecord.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 合同审批流程对象 house_contarct_apply_record
 * 
 * @author hct
 * @date 2022-03-10
 */
public class HouseContarctApplyRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 合同id */
    @Excel(name = "合同id")
    private Long contarctId;

    /** 操作时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "操作时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date operTime;

    /** 1提交 2.审批 3退单 4作废 */
    @Excel(name = "1提交 2.审批 3退单 4作废")
    private Integer operType;

    /** 子类型 */
    @Excel(name = "子类型")
    private Integer operSonType;

    /** 操作描述 */
    @Excel(name = "操作描述")
    private String operDetail;

    /** 操作人 */
    @Excel(name = "操作人")
    private Long operUserId;

    /** 操作人 */
    @Excel(name = "操作人")
    private String operUserName;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setContarctId(Long contarctId) 
    {
        this.contarctId = contarctId;
    }

    public Long getContarctId() 
    {
        return contarctId;
    }
    public void setOperTime(Date operTime) 
    {
        this.operTime = operTime;
    }

    public Date getOperTime() 
    {
        return operTime;
    }
    public void setOperType(Integer operType) 
    {
        this.operType = operType;
    }

    public Integer getOperType() 
    {
        return operType;
    }
    public void setOperSonType(Integer operSonType) 
    {
        this.operSonType = operSonType;
    }

    public Integer getOperSonType() 
    {
        return operSonType;
    }
    public void setOperDetail(String operDetail) 
    {
        this.operDetail = operDetail;
    }

    public String getOperDetail() 
    {
        return operDetail;
    }
    public void setOperUserId(Long operUserId) 
    {
        this.operUserId = operUserId;
    }

    public Long getOperUserId() 
    {
        return operUserId;
    }
    public void setOperUserName(String operUserName) 
    {
        this.operUserName = operUserName;
    }

    public String getOperUserName() 
    {
        return operUserName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("contarctId", getContarctId())
            .append("operTime", getOperTime())
            .append("operType", getOperType())
            .append("operSonType", getOperSonType())
            .append("operDetail", getOperDetail())
            .append("operUserId", getOperUserId())
            .append("operUserName", getOperUserName())
            .append("remark", getRemark())
            .toString();
    }
}
